//
//  GQConcernAndFansController.m
//  GuQu
//
//  Created by HELIUM STAR on 15/5/27.
//  Copyright (c) 2015年 HELIUM STAR. All rights reserved.
//

#import "GQConcernAndFansController.h"
#import "GQConcernAndFansCell.h"

@interface GQConcernAndFansController ()

@end

@implementation GQConcernAndFansController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"关注";
    self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithImage:[UIImage imageWithOriginalName:@"distribute_back"] style:UIBarButtonItemStylePlain target:self action:@selector(backToPre)];
    self.tableView.showsVerticalScrollIndicator = NO;
    [self.tableView registerClass:[GQConcernAndFansCell class] forCellReuseIdentifier:@"flag"];
}

- (void)backToPre
{
    [self.navigationController popViewControllerAnimated:YES];
}

- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
{
    return 1;
}

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
{
    return 12;
}

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
    GQConcernAndFansCell *cell = [tableView dequeueReusableCellWithIdentifier:@"flag"];
    return cell;
}

- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
{
    return 58;
}

@end
